import click
import json
from pprint import pprint
from app.fault_self_recovery.script.fsr_click import FSRClick


@click.group()
def fsr_alarm():
    pass


@fsr_alarm.command("host_disk")
@click.option('--file_path', type=str, help="excel文件路径")
def update_host_disk_from_excel(file_path):
    """
    导入主机磁盘清理的配置信息
    """
    fsr_click = FSRClick()
    fsr_click.update_host_disk_from_excel(file_path)


